package com.github.thinwonton.springboot.showcase.transaction.propagation.dao;

import com.github.thinwonton.springboot.showcase.transaction.propagation.domain.Account;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountDao {
	int deleteByPrimaryKey(Long id);

	int insert(Account record);

	int insertSelective(Account record);

	Account selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(Account record);

	int updateByPrimaryKey(Account record);
}